<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="Admin/webroot/css/style.css"/>
<title>微信设置</title>
</head>
<script type="text/javascript" src="Admin/webroot/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="Admin/webroot/js/global.js"></script>
<script type="text/javascript" src="Admin/webroot/js/input.js"></script>
<body>
<!--[if lte IE 6]>
<script src="js/DD_belatedPNG_0.0.8a.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
	DD_belatedPNG.fix('.pngfix');
</script>
<![endif]--> 
<div class="rightbox-col" id="right">
      <div class="main">
        {include file='../Common/main_title.html'}
        <div class="bd">
          <div class="height_20"></div>
          <div class="main_content">
            <form method="post" action="index.php?g=admin&m=wxrule&a=save">
                 <div class="left-table">Token: </div>
                <div class="right-table"><input type="text" name="token" value="{$setting['token']}" /></div>
              <div class="height_10"></div>
                 <div class="left-table">Appid:</div>
                <div class="right-table"><input type="text" name="appid" value="{$setting['appid']}" /></div>
             <div class="height_10"></div>
              <div class="left-table">Appsecret:</div>
                <div class="right-table"><input type="text" name="appsecret" value="{$setting['appsecret']}" /></div>
              <div class="height_10"></div>
              <div class="left-table">关注时回复:</div>
          <div class="right-table"><div class="s-select-c" style="z-index:999;">
                                        		<input type="text" autocomplete="off" name="parent_name" {if $setting.wxareply.name}value="{$setting.wxareply.name}"{else}value="请选择关联信息"{/if} class="s-select"/>
                                                <div class="s-select-menu" id="s1" style="z-index:999">
                                                	<ul>
           {foreach from=$rule_list item=list}                                          	<li data-select="{$list.id}"><a href="#">{$list.name}</a></li>
                                                        {/foreach}                                                </ul>
                                                </div>
                                                <input type="hidden" class="fmenu" name="wxareply" value="{$setting.wxareply.id}" />
                                            </div></div>
                                              <div class="height_10"></div>
                <div class="left-table">默认回复:</div>
          <div class="right-table"><div class="s-select-c" style="z-index:998;">
                                        		<input type="text" autocomplete="off" name="parent_name" {if $setting.wxdreply.name}value="{$setting.wxdreply.name}"{else}value="请选择关联信息"{/if} class="s-select"/>
                                                <div class="s-select-menu" id="s1" style="z-index:999">
                                                	<ul>
           {foreach from=$rule_list item=list}                                          	<li data-select="{$list.id}"><a href="#">{$list.name}</a></li>
                                                        {/foreach}                                                </ul>
                                                </div>
                                                <input type="hidden" class="fmenu" name="wxdreply" value="{$setting.wxdreply.id}" />
                                            </div></div>
                                              <div class="height_10"></div>                               
               
              <p><span></span><input class="submit_btn" type="submit" value="保存" /></p>
            </form>
          </div>
         
        </div>
      </div>
    </div>
</body>
</html>
